Skip to content

Conversation

agampa263
Copy link
Contributor

No description provided.

int flash_status = -1;
int* p = new int [10];
delete[] p;
p[0] = 10;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverity Issue - Write to pointer after free

Using freed pointer "p".

High Impact, CWE-416
USE_AFTER_FREE

bool st_notify_flag = false;
int* p = new int [10];
delete[] p;
p[0] = 10;
Copy link
Contributor

@rdkcmf-jenkins rdkcmf-jenkins Jul 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverity issue no longer present as of: undefined

Show issue

Coverity Issue - Write to pointer after free

Using freed pointer "p".

High Impact, CWE-416
USE_AFTER_FREE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants